{%extends file="wap_activity/page/layout.tpl"%}
{%block name="sub-head-static"%}
    {%require name="wap_activity:static/share/share.less"%}
    {%require name="wap_activity:static/share/share.js"%}
    <script>
        P.data("profit","{%$data.profit%}");
    </script>
{%/block%}

{%block name="noheader-body-content"%}
    <div class="activity-share">
       <div class="page-header">
           <div class="header1">
               <img class="user-image" src="{%$data.headimgurl%}">
               <span class="user-name">{%$data.nickname%}</span>
           </div>
           <div class="header2">
               {%if $data.total_profit>0%}
                   <div class="line2">我在真融宝已获得<span>￥{%$data.total_profit%}</span>收益</div>
                   <div class="line3">很靠谱，推荐给你</div>
               {%elseif $data.total>0%}
                   <div class="line1">我刚发现的一个理财产品真融宝</div>
                   <div class="line2">预计我一个月收益<span>￥{%$data.month_profit%}</span></div>
                   <div class="line3">很靠谱，推荐给你</div>
               {%else%}
                   <div class="line1">我刚发现的一个理财产品真融宝</div>
                   <div class="line2">年化收益可达<span>{%$data.weight_profit_years_percent%}%</span></div>
                   <div class="line3">很靠谱，推荐给你</div>
               {%/if%}
           </div>
       </div>
       {%widget name="wap_activity:widget/summary/summary.tpl" call = "summary" from="4"%}
   </div>
{%/block%}